package com.my.service;

import com.my.bean.ResultPage;
import com.my.bean.Role;
import com.baomidou.mybatisplus.service.IService;
import com.my.bean.VoPage;

import java.sql.SQLException;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author 张子艺
 * @since 2018-08-26
 */
public interface RoleService extends IService<Role> {
    ResultPage<Role> selectMyPage(VoPage voPage,Role role,Long areaid,boolean admin);
      boolean insertRoleAndMenu(String param);
       String deleteRole(Long id) throws SQLException;

    boolean updateRoleValue();

}
